﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;

namespace EmProductCenter.pxjd
{
    public partial class xxhcxx : System.Web.UI.Page
    {
        Common.CommonClass common = new Common.CommonClass();
        BLL.ePioneer_Lecturer bllEPL = new BLL.ePioneer_Lecturer();
        public string strTeach = "";
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                if (Request["location"] != null && Request["location"] != "")
                    search_location_vale.Value = Request["location"];
                if (Request["startDate"] != null && Request["startDate"] != "")
                    search_month_vale.Value = Request["startDate"];
                if (Request["lecturer"] != null && Request["lecturer"] != "")
                    search_teach_vale.Value = Request["lecturer"];

                List<Model.ePioneer_Lecturer> list = bllEPL.GetModelList("1=1");
                StringBuilder str = new StringBuilder();
                str.Append("<a href='javascript:void(0);'>请选择专家</a>");
                foreach (Model.ePioneer_Lecturer model in list)
                {
                    str.Append("<a href='javascript:void(0);'>" + model.Lecturer + "</a>");
                }
                strTeach = str.ToString();

                if (Session["LoginName"] != null)
                    hid_userName.Value = Session["LoginName"].ToString();
            }
        }
    }
}